package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.PrizeDrawActivityTypeEnum;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 抽奖活动历史统计记录表(sc_history_prize_draw_activity_details_log)实体类
 *
 * @author Sun
 * @since 2023-09-14 11:32:16
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_history_prize_draw_activity_details_log")
public class HistoryPrizeDrawActivityDetailsLog extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 活动id
     */
    private Long activityId;
    /**
     * 活动类型 : 1:瓜分活动 2:竞猜活动
     */
    private PrizeDrawActivityTypeEnum activityType;
    /**
     * 参与人数
     */
    private Long attendUserCount;
    /**
     * 参与次数
     */
    private Long attendCount;
    /**
     * 已发放奖券
     */
    private Long equityCount;
    /**
     * 已使用奖券
     */
    private Long useEquityCount;
    /**
     * 本期累计金额
     */
    private BigDecimal accumulatedAmount;
    /**
     * 本期预留金额
     */
    private BigDecimal reserveAmount;
    /**
     * 本期发放金额
     */
    private BigDecimal disbursementAmount;
    /**
     * 本期未发放金额
     */
    private BigDecimal unissuedAmount;
    /**
     * 本期剩余总金额
     */
    private BigDecimal residualAmount;

}